import numpy as np
import matplotlib.pyplot as plt

theta = np.linspace(0,2*np.pi,1000)
plt.plot(np.cos(theta),np.sin(theta))
plt.axis('equal')   # 使x和y单位在屏幕上的比例相同，如不加此语句是个椭圆
plt.show()

